﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebService.BusinessEntities
{
    /// <summary>
    /// Encja przedstawiajaca uzytkownika kasyna oraz date otwarcia
    /// i akceptacji znajomosci.
    /// Encja jest wykorzystywana do wyswietlania znajomych w kasynie
    /// oraz informacji o zaproszeniach
    /// </summary>
    public partial class CasinoUserInvitation : CasinoUser
    {
        public CasinoUserInvitation()
        {
        }
        /// <summary>
        /// Konstruktor parametrowy encji
        /// </summary>
        /// <param name="avatar">Awatar</param>
        /// <param name="birth_date">Data urodzenia</param>
        /// <param name="country">Panstwo</param>
        /// <param name="creation_date">Data utworzenia konta</param>
        /// <param name="email">E-mail</param>
        /// <param name="is_active">Czy aktywne konto?</param>
        /// <param name="last_logon_date">Data ostatniego logowania</param>
        /// <param name="last_logout_date">Data ostatniego wylogowania</param>
        /// <param name="last_update_date">Data ostatniej aktualizacji danych</param>
        /// <param name="login">Login</param>
        /// <param name="nick">Nick</param>
        /// <param name="user_id">ID uzytkownika</param>
        /// <param name="user_name">Imie</param>
        /// <param name="user_surname">Nazwisko</param>
        /// <param name="acceptation_date">Data akceptacji zaproszenia</param>
        /// <param name="sent_date">Data wyslania zaproszenia</param>
        public CasinoUserInvitation(System.Byte[] avatar, System.DateTime birth_date, System.String country,
            System.DateTime creation_date, System.String email,
            System.Boolean is_active, Nullable<System.DateTime> last_logon_date,
            Nullable<System.DateTime> last_logout_date,
            System.DateTime last_update_date, System.String login,
            System.String nick, System.Int32 user_id, System.String user_name,
            System.String user_surname, Nullable<System.DateTime> acceptation_date,
            System.DateTime sent_date)
        {
            base.avatar = avatar;
            base.birth_date = birth_date;
            base.country = country;
            base.creation_date = creation_date;
            base.email = email;
            base.is_active = is_active;
            base.last_logon_date = last_logon_date;
            base.last_logout_date = last_logout_date;
            base.last_update_date = last_update_date;
            base.login = login;
            base.nick = nick;
            base.user_id = user_id;
            base.user_name = user_name;
            base.user_surname = user_surname;
            this.acceptation_dateField = acceptation_date;
            this.sent_dateField = sent_date;
        }
        
        private Nullable<System.DateTime> acceptation_dateField;
        /// <summary>
        /// Data akceptacji zaproszenia
        /// </summary>
        public Nullable<System.DateTime> acceptation_date
        {
            get { return this.acceptation_dateField; }
            set { this.acceptation_dateField = value; }
        }
        
        private System.DateTime sent_dateField;
        /// <summary>
        /// Data wyslania zaproszenia
        /// </summary>
        public System.DateTime sent_date
        {
            get { return this.sent_dateField; }
            set { this.sent_dateField = value; }
        }

    }
}

